package org.wk.account.dao.yuan;

import org.wk.account.domain.SubAccount;
import org.wk.account.domain.yuan.SubAccountYuan;
import org.wk.account.domain.yuan.SubAccountYuanToZaiBill;
import org.wk.core.db.dao.GenericJpaRepository;

import java.util.Date;


public interface SubAccountYuanToZaiBillDao extends GenericJpaRepository<SubAccountYuanToZaiBill, String>{

    SubAccountYuanToZaiBill findByUserIdAndCreateTimeBetween(String userId, Date beginDate, Date endDate);

    SubAccountYuanToZaiBill findByUserIdAndCurrentDay(String userId, String currentDay);
}
